#define _NL 25 //number of lines
#define _NC 80 //number of collums

//Types ----------
typedef struct textBuffer_t textBuffer_t; 
struct textBuffer_t{
	unsigned char text[_NL*_NC*2];
	int currentLine;
};

//textBuffer_t functions ----------

void clearBuffer();

void initBuffer();

void printBuffer();

void bufferPrintLine(char *string);

void printLine(char *string);

void print(char *string);

void bufferPrint(char *string);

void itoa(unsigned long n,char *c);
